-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
6.3.5 (latest)
-
Code
-
Classes
- NoticeController
| Total Complexity |
69 |
| Dependencies |
2 |
| Dependents |
10 |
| Total lines |
382 |
| Lines of code |
258 |
| Logical lines of code |
135 |
| Comment lines |
34 |
| Methods |
23 |
| Properties |
8 |
Methods 23
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| ajax_action() |
A |
44 |
10 |
45 |
| loadNotices() |
S |
54 |
7 |
22 |
| makePersistent() |
S |
53 |
6 |
24 |
| getNoticesForDisplay() |
S |
55 |
6 |
21 |
| update() |
S |
56 |
6 |
19 |
| addNotice() |
S |
58 |
5 |
16 |
| admin_notices() |
S |
59 |
4 |
15 |
| removeNoticeByID() |
S |
60 |
4 |
13 |
| getNoticeByID() |
S |
67 |
3 |
8 |
| getInstance() |
S |
69 |
2 |
7 |
| loadConfig() |
S |
68 |
2 |
8 |
| loadIcons() |
S |
75 |
2 |
4 |
| printNoticeStyle() |
S |
66 |
2 |
9 |
| __construct() |
S |
67 |
1 |
7 |
| resetNotices() |
S |
71 |
1 |
5 |
| countNotices() |
S |
76 |
1 |
4 |
| getNotices() |
S |
81 |
1 |
3 |
| getNewNotices() |
S |
81 |
1 |
3 |
| addNormal() |
S |
72 |
1 |
5 |
| addError() |
S |
72 |
1 |
5 |
| addWarning() |
S |
72 |
1 |
5 |
| addSuccess() |
S |
72 |
1 |
5 |
| addDetail() |
S |
73 |
1 |
5 |